package com.ay272.ssh2.base.biz;

import java.io.Serializable;
import java.util.List;

/**
 * Created by java on 2016/5/17.
 */
public interface Biz <E extends Serializable,PK extends Serializable> {
    void save(E entity);
    void delete(E entity);
    void update(E entity);
    E get(PK id);
    List<E> list();
}
